package org.hxzon.tapestry5.util;

import org.apache.tapestry5.NullFieldStrategy;

public class EmptyNullFieldStrategy implements NullFieldStrategy {
    /**
     * Returns null.
     */
    public Object replaceToClient() {
        return null;
    }

    /**
     * Returns the empty string.
     */
    public String replaceFromClient() {
        return "";
    }

}
